/**
 * Created by Panda on 16/01/2017
 */
(function () {
    'use strict';

    angular
        .module('com.akxx.aqzyk')
        .factory('_Courseware', _Courseware);


    /** @ngInject */
    function _Courseware(Resource) {
        return {
            Get:Resource("cocservice/get/tm_tf_files/:id"),
            Query:Resource("cocservice/query/tm_tf_files"),
            Create:Resource("cocservice/create/tm_tf_files"),
            CreateBatch:Resource("cocservice/create//tm_tf_files!c0U"),
            Update:Resource("cocservice/update/:id"),
            Verify:Resource("cocservice/update/tm_tf_files!e0B/:id"),
            VerifyBatch:Resource("cocservice/update/tm_tf_files!e0A/:id"),
            ShareBatch:Resource("coc/secres/share/tm_teaching_files/:id"),
            PublishBatch:Resource("coc/secres/publish/tm_teaching_files/:id"),
            PassBatch:Resource("cocservice/update/tm_tf_files!e0Bs/:id"),
            Back:Resource("cocservice/update/tm_tf_files!e0C/:id"),
            BackBatch:Resource("cocservice/update/tm_tf_files!e0Cs/:id"),
            Delete:Resource("cocservice/delete/tm_tf_files/:id"),
            DeleteBatch:Resource("cocservice/delete/tm_tf_files!d0A/:id")
        };
    }

})();
